<!doctype html>
<html class="no-js">
<head>
<include file="Public:top"/>
</head>
<body>
<!--[if lte IE 9]><p class="browsehappy">升级你的浏览器吧！ <a href="http://se.360.cn/" target="_blank">升级浏览器</a>以获得更好的体验！</p><![endif]-->
</head>
<body>
<header class="am-topbar admin-header">
 <include file='Public:header'/>
</header>
<div class="am-cf admin-main"> 
<include file='Public:left'/>
<div class=" admin-content">
<div class="daohang">
      <ul>
        <li><a href="{:U('Admin/Index/index')}">
        <button type="button" class="am-btn am-btn-default am-radius am-btn-xs">
        首页
        </a></li> 
      </ul>
    </div>	
<div class="admin-biaogelist">	
    <div class="listbiaoti am-cf">
      <ul class="am-icon-flag on"> 栏目名称</ul>      
      <dl class="am-icon-home" style="float: right;"> 当前位置： <a href="{:U(Admin/Index/index)}">首页</a> > <a href="{:U(Admin/Lister/lister)}">添加新商品</a></dl>   
    </div>
    <div class="fbneirong">
      <form class="am-form" action="check" method="post" enctype="multipart/form-data">
        <div class="am-form-group am-cf">
          <div class="zuo">商品名称：</div>
          <div class="you">
            <input type="text" class="am-input-sm" id="doc-ipt-email-1" name="wares_name" placeholder="请输入标题">
          </div>
        </div>
        <div class="am-form-group am-cf">
          <div class="zuo">鞋子金额：</div>
          <div class="you">
            <input type="text" class="am-input-sm" id="doc-ipt-pwd-1" name="wares_money" placeholder="请输入金额"><span>{$info.wares_money}</span>
          </div>
        </div>
        <div class="am-form-group am-cf">
          <div class="zuo">打折的金额：</div>
          <div class="you">
            <input type="text" class="am-input-sm" id="doc-ipt-pwd-1" name="wares_newmoney" placeholder="请输入打折的金额"><span>{$info.wares_newmoney}</span>
          </div>
        </div>
        <div class="am-form-group am-cf">
          <div class="zuo">商品类型：</div>
          <div class="you">
                <input type="radio" id="doc-ipt-1" name="state" value="0">促销
                <input type="radio" id="doc-ipt-1" name="state" value="1">推荐
                <input type="radio" id="doc-ipt-1" name="state" value="2">不参与活动
          </div>
        </div>
        <div class="am-form-group am-cf">
          <div class="zuo">描述：</div>
          <div class="you">
            <textarea class="" rows="2" id="doc-ta-1" name="wares_abstruct"></textarea>
          </div>
        </div>
        <div class="am-form-group am-cf">
          <div class="zuo">商品分类</div>
          <div class="you">
            <select name="wares_typeid" >
            <foreach  name="array" item="v">
            <if condition="$v.level eq 1">
              <optgroup label="{$v.wares_typename}"></optgroup>
              </if>
            <if condition="$v.level eq 2">
              <optgroup label="&nbsp;&nbsp;&nbsp;{$v.wares_typename}"></optgroup>
              </if>
            <if condition="$v.level eq 3">
              <option value="{$v.id}">  
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$v.wares_typename}           
              </option>
              </if>
            </foreach>
            </select>
          </div>
        </div>
        <div class="am-form-group am-cf">
          <div class="zuo">产品图片：</div>
          <div class="you" style="height: 45px;">
            <input type="file" id="doc-ipt-file-1" name="wares_images">
            <p class="am-form-help">请选择要上传的图片...</p>
          </div>
        </div>     
        <div class="am-form-group am-cf">
          <div class="zuo">简介：</div>
          <div class="you">
            <textarea class="" rows="2" id="doc-ta-1" name="wares_abstruct"></textarea>
          </div>
        </div>   
        <div class="am-form-group am-cf">
          <div class="zuo">产品参数：</div>
          <div class="you">
            <textarea class="" rows="2" id="doc-ta-1" name="wares_parameter"></textarea>
          </div>
        </div> 
        <div class="am-form-group am-cf">
          <div class="you" style="margin-left: 11%;">
              <button type="submit" class="am-btn am-btn-success am-radius">发布</button>&nbsp;  &raquo; &nbsp; 
          </div>
        </div>
      </form>
    </div>
 <div class="foods">
 <include file='Public:footer'/>
</div>
</div>
</div>
</div>
<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="assets/js/polyfill/rem.min.js"></script>
<script src="assets/js/polyfill/respond.min.js"></script>
<script src="assets/js/amazeui.legacy.js"></script>
<![endif]--> 
<!--[if (gte IE 9)|!(IE)]><!--> 
<script src="__PUBLIC__/Admin/js/amazeui.min.js"></script> 
<!--<![endif]-->
</body>
</html>